package com.lxw.redis.study.entity;

import com.lxw.redis.study.core.BasicEntity;
import java.util.Date;

public class Emp extends BasicEntity {

	/**
	 * 员工编号
	 */
	private Integer empno;

	/**
	 * 姓名
	 */
	private String ename;

	/**
	 * 工作
	 */
	private String job;

	/**
	 * 领导编号
	 */
	private Integer mgr;

	/**
	 * 入职日期
	 */
	private Date hiredate;

	/**
	 * 工资
	 */
	private Double sal;

	/**
	 * 提成
	 */
	private Double comm;

	/**
	 * 部门编号
	 */
	private Integer deptno;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 逻辑删除
	 */
	private Integer lDelete;

	/**
	 * 版本号
	 */
	private Integer lVersion;

	public Integer getEmpno() {
		return empno;
	}

	public void setEmpno(Integer empno) {
		this.empno = empno;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public Integer getMgr() {
		return mgr;
	}

	public void setMgr(Integer mgr) {
		this.mgr = mgr;
	}

	public Date getHiredate() {
		return hiredate;
	}

	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}

	public Double getSal() {
		return sal;
	}

	public void setSal(Double sal) {
		this.sal = sal;
	}

	public Double getComm() {
		return comm;
	}

	public void setComm(Double comm) {
		this.comm = comm;
	}

	public Integer getDeptno() {
		return deptno;
	}

	public void setDeptno(Integer deptno) {
		this.deptno = deptno;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getlDelete() {
		return lDelete;
	}

	public void setlDelete(Integer lDelete) {
		this.lDelete = lDelete;
	}

	public Integer getlVersion() {
		return lVersion;
	}

	public void setlVersion(Integer lVersion) {
		this.lVersion = lVersion;
	}

	@Override
	public String toString() {
		return "Emp{" +
		" empno=" + empno  +
		", ename='" + ename + '\'' +
		", job='" + job + '\'' +
		", mgr='" + mgr + '\'' +
		", hiredate='" + hiredate + '\'' +
		", sal='" + sal + '\'' +
		", comm='" + comm + '\'' +
		", deptno='" + deptno + '\'' +
		", createTime='" + createTime + '\'' +
		", updateTime='" + updateTime + '\'' +
		", lDelete='" + lDelete + '\'' +
		", lVersion='" + lVersion + '\'' +
		'}';
	}
}
